<h1>Set A New Password - <?php echo $this->username ?></h1>

<?php foreach ($this->passwordForm->getElements() as $element): ?>
    <?php foreach ($element->getErrorMessages() as $error): ?>
        <div class="error">
            <p id="error-login-<?php echo $element->getName() ?>">
                <?php echo $error ?>
            </p>
        </div>
    <?php endforeach ?>
<?php endforeach ?>

<?php echo $this->passwordForm ?>